home *** CD-ROM | disk | FTP | other *** search
- Path: s02.pavilion.co.uk!usenet
- From: AJRobb@pavilion.co.uk (Andy J Robb)
- Newsgroups: comp.lang.c
- Subject: Re: calling a C++ from C
- Date: Thu, 25 Jan 1996 02:02:53 GMT
- Organization: Pavilion Internet plc
- Message-ID: <4e6oau$fgm@s02.pavilion.co.uk>
- References: <4ds5ch$59r@sand.cis.ufl.edu>
- NNTP-Posting-Host: poolb14.pavilion.co.uk
- X-Newsreader: Forte Free Agent 1.0.82
-
- mkandil@cis.ufl.edu (Mokhtar Kandil) wrote:
-
-
- >hey guys
- >i know this question has probably been asked a lot, but im stuck on it and
- >i would appreciate any help :
-
- >How to call a C++ function from C code ie (equivalent of the C++ "extern C"
- >in C)
-
- The linkable name of a C++ function is generally unknown to C (or
- other C++ compilers). However, you can declare a C++ function as a C
- function and access that. It needs to be placed in the C class. For
- examples, look in the standard header files.
- -----BEGIN PGP PUBLIC KEY BLOCK-----
- Version: 2.6.2i
-
- mQCNAy/MpRwAAAEEAOt6uBYqT8yv9EmqNhK8m6v+bYi8QjnGW3Bo6iU1gsMj5pa6
- MHgq99c8deADbE3cbJ6uZS9v5pZE3WCf6HCQjlB5iULA5RZzMdAumd/WUzuL9UT3
- B44D9EqqFIL79FlYb56v4oKFqFp1/J2bIpYUwnUvabGzGjdLrpPl4P16x9sNAAUR
- tCNBbmR5IEogUm9iYiA8QUpSb2JiQHBhdmlsaW9uLmNvLnVrPrQhQW5keSBSb2Ji
- IDxBSlJvYmJAcGF2aWxpb24uY28udWs+
- =/wVD
- -----END PGP PUBLIC KEY BLOCK-----
-
-